package cn.tedu.store.mapper;

import cn.tedu.store.entity.ComDepartment;
import cn.tedu.store.entity.Employee;
import cn.tedu.store.entity.HistClientList;
import cn.tedu.store.entity.LocatoionMac;
import cn.tedu.store.temperatureDetection.entity.dto.EmployeeDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 75936
 * @version 1.0
 * @project demo_hesuan
 * @description
 * @date 2023-01-05 15:56:20
 */

public interface EmployeeMapper {
    EmployeeDto findEmployeesByPhone(@Param("iphone") String iphone);
    EmployeeDto findEmployeesByPCode(String iphone);
    List<EmployeeDto> findEmployeeByMeetingCode(String meetingCode);
    List<EmployeeDto> findLateEmployeeByMeetingCode(String meetingCode);

    List<EmployeeDto> findAll();
    List<EmployeeDto> findX();
    List<EmployeeDto> findX2();
    List<EmployeeDto> findList();

    EmployeeDto findOne(String name);

    EmployeeDto findOne1(String name);


    EmployeeDto getByEmplCode(String emplCode);

    ComDepartment getByDeptCode(String deptCode);


    List<Employee> findCadres();

    int getInt(String emplCode);

    void addMac( List<LocatoionMac> locatoionMacs);

    HistClientList get(@Param("mac") HistClientList mac);

    void addOneMac(@Param("mac") HistClientList mac);


    List<HistClientList> getListMac();


    List<HistClientList> getToDayMac(@Param("date") String format);

    List<EmployeeDto> getDeptName();
}
